![]() |
GetMouse |
||||
Header: | Events.h | Carbon status: | Supported | |
Obtains the current mouse location.
void GetMouse ( Point *mouseLoc );
Returns a pointer to a point describing the current mouse location in local coordinates of the current graphics port (for example, the active window). Note that this value differs from the value of the where field of the event structure, which specifies the mouse location in global coordinates.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)